
try:
    a = int(input("请输入整数:"))
    b = int(input("请输入整数:"))
    print(a/b)
except:
    print("异常发生")

finally:
    print("无论是否有异常,都要执行的代码")